Optimal. Leaf size=156 \[ -\frac{1}{27} (2 x+3)^2 \left (3 x^2+5 x+2\right )^{7/2}+\frac{(4298 x+10211) \left (3 x^2+5 x+2\right )^{7/2}}{4536}+\frac{4507 (6 x+5) \left (3 x^2+5 x+2\right )^{5/2}}{15552}-\frac{22535 (6 x+5) \left (3 x^2+5 x+2\right )^{3/2}}{746496}+\frac{22535 (6 x+5) \sqrt{3 x^2+5 x+2}}{5971968}-\frac{22535 \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{11943936 \sqrt{3}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.186419, antiderivative size = 156, normalized size of antiderivative = 1., number of steps used = 7, number of rules used = 5, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.185 \[ -\frac{1}{27} (2 x+3)^2 \left (3 x^2+5 x+2\right )^{7/2}+\frac{(4298 x+10211) \left (3 x^2+5 x+2\right )^{7/2}}{4536}+\frac{4507 (6 x+5) \left (3 x^2+5 x+2\right )^{5/2}}{15552}-\frac{22535 (6 x+5) \left (3 x^2+5 x+2\right )^{3/2}}{746496}+\frac{22535 (6 x+5) \sqrt{3 x^2+5 x+2}}{5971968}-\frac{22535 \tanh ^{-1}\left (\frac{6 x+5}{2 \sqrt{3} \sqrt{3 x^2+5 x+2}}\right )}{11943936 \sqrt{3}} \]
Antiderivative was successfully verified.
[In] Int[(5 - x)*(3 + 2*x)^2*(2 + 5*x + 3*x^2)^(5/2),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 19.408, size = 143, normalized size = 0.92 \[ - \frac{\left (2 x + 3\right )^{2} \left (3 x^{2} + 5 x + 2\right )^{\frac{7}{2}}}{27} + \frac{4507 \left (6 x + 5\right ) \left (3 x^{2} + 5 x + 2\right )^{\frac{5}{2}}}{15552} - \frac{22535 \left (6 x + 5\right ) \left (3 x^{2} + 5 x + 2\right )^{\frac{3}{2}}}{746496} + \frac{22535 \left (6 x + 5\right ) \sqrt{3 x^{2} + 5 x + 2}}{5971968} + \frac{\left (12894 x + 30633\right ) \left (3 x^{2} + 5 x + 2\right )^{\frac{7}{2}}}{13608} - \frac{22535 \sqrt{3} \operatorname{atanh}{\left (\frac{\sqrt{3} \left (6 x + 5\right )}{6 \sqrt{3 x^{2} + 5 x + 2}} \right )}}{35831808} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((5-x)*(3+2*x)**2*(3*x**2+5*x+2)**(5/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.113095, size = 90, normalized size = 0.58 \[ \frac{-157745 \sqrt{3} \log \left (-2 \sqrt{9 x^2+15 x+6}-6 x-5\right )-6 \sqrt{3 x^2+5 x+2} \left (167215104 x^8+268240896 x^7-3275873280 x^6-15455860992 x^5-30355761024 x^4-32476001904 x^3-19762157208 x^2-6434937470 x-871825317\right )}{250822656} \]
Antiderivative was successfully verified.
[In] Integrate[(5 - x)*(3 + 2*x)^2*(2 + 5*x + 3*x^2)^(5/2),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.009, size = 134, normalized size = 0.9 \[{\frac{22535+27042\,x}{15552} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{5}{2}}}}-{\frac{112675+135210\,x}{746496} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{3}{2}}}}+{\frac{112675+135210\,x}{5971968}\sqrt{3\,{x}^{2}+5\,x+2}}-{\frac{22535\,\sqrt{3}}{35831808}\ln \left ({\frac{\sqrt{3}}{3} \left ({\frac{5}{2}}+3\,x \right ) }+\sqrt{3\,{x}^{2}+5\,x+2} \right ) }+{\frac{8699}{4536} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{7}{2}}}}+{\frac{163\,x}{324} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{7}{2}}}}-{\frac{4\,{x}^{2}}{27} \left ( 3\,{x}^{2}+5\,x+2 \right ) ^{{\frac{7}{2}}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((5-x)*(3+2*x)^2*(3*x^2+5*x+2)^(5/2),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.767859, size = 219, normalized size = 1.4 \[ -\frac{4}{27} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}} x^{2} + \frac{163}{324} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}} x + \frac{8699}{4536} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{7}{2}} + \frac{4507}{2592} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} x + \frac{22535}{15552} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{5}{2}} - \frac{22535}{124416} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} x - \frac{112675}{746496} \,{\left (3 \, x^{2} + 5 \, x + 2\right )}^{\frac{3}{2}} + \frac{22535}{995328} \, \sqrt{3 \, x^{2} + 5 \, x + 2} x - \frac{22535}{35831808} \, \sqrt{3} \log \left (2 \, \sqrt{3} \sqrt{3 \, x^{2} + 5 \, x + 2} + 6 \, x + 5\right ) + \frac{112675}{5971968} \, \sqrt{3 \, x^{2} + 5 \, x + 2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(5/2)*(2*x + 3)^2*(x - 5),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.275611, size = 135, normalized size = 0.87 \[ -\frac{1}{501645312} \, \sqrt{3}{\left (4 \, \sqrt{3}{\left (167215104 \, x^{8} + 268240896 \, x^{7} - 3275873280 \, x^{6} - 15455860992 \, x^{5} - 30355761024 \, x^{4} - 32476001904 \, x^{3} - 19762157208 \, x^{2} - 6434937470 \, x - 871825317\right )} \sqrt{3 \, x^{2} + 5 \, x + 2} - 157745 \, \log \left (\sqrt{3}{\left (72 \, x^{2} + 120 \, x + 49\right )} - 12 \, \sqrt{3 \, x^{2} + 5 \, x + 2}{\left (6 \, x + 5\right )}\right )\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(5/2)*(2*x + 3)^2*(x - 5),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \int \left (- 1104 x \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 2717 x^{2} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 3381 x^{3} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 2151 x^{4} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int \left (- 551 x^{5} \sqrt{3 x^{2} + 5 x + 2}\right )\, dx - \int 48 x^{6} \sqrt{3 x^{2} + 5 x + 2}\, dx - \int 36 x^{7} \sqrt{3 x^{2} + 5 x + 2}\, dx - \int \left (- 180 \sqrt{3 x^{2} + 5 x + 2}\right )\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((5-x)*(3+2*x)**2*(3*x**2+5*x+2)**(5/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.271095, size = 120, normalized size = 0.77 \[ -\frac{1}{41803776} \,{\left (2 \,{\left (12 \,{\left (6 \,{\left (8 \,{\left (6 \,{\left (36 \,{\left (14 \,{\left (48 \, x + 77\right )} x - 13165\right )} x - 2236091\right )} x - 26350487\right )} x - 225527791\right )} x - 823423217\right )} x - 3217468735\right )} x - 871825317\right )} \sqrt{3 \, x^{2} + 5 \, x + 2} + \frac{22535}{35831808} \, \sqrt{3}{\rm ln}\left ({\left | -2 \, \sqrt{3}{\left (\sqrt{3} x - \sqrt{3 \, x^{2} + 5 \, x + 2}\right )} - 5 \right |}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(-(3*x^2 + 5*x + 2)^(5/2)*(2*x + 3)^2*(x - 5),x, algorithm="giac")
[Out]